package com.foryou.system.modules.wx.service.impl;

import com.foryou.system.modules.wx.dao.IndexBackDao;
import com.foryou.system.modules.wx.dao.UserBackDao;
import com.foryou.system.modules.wx.entity.IndexBackEntity;
import com.foryou.system.modules.wx.entity.UserBackEntity;
import com.foryou.system.modules.wx.service.IndexBackService;
import com.foryou.system.modules.wx.service.UserBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Lee.
 */
@Service
public class IndexBackServiceImpl implements IndexBackService {

    @Autowired
    private IndexBackDao indexBackDao;

    @Override
    public List<IndexBackEntity> queryList(Map<String, Object> map) {
        return indexBackDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return indexBackDao.queryTotal(map);
    }

    @Override
    public int remove(Long[] ids) {
        return indexBackDao.remove(ids);
    }

    @Override
    public int delete(Long[] ids) {
        return indexBackDao.delete(ids);
    }

    @Override
    public int update(Map<String, Object> map) {
        return indexBackDao.update(map);
    }

    @Override
    public void save(String url) {
        indexBackDao.save(url);
    }
}
